
<div id="hider">
	<div id="rentals">
		<ul>
			<li><%= link_to image_tag("/images/Icons/green_arrow.jpg", :style => "border: none;"), {:controller => 'rental', :action => 'rental'}%><%= link_to "New Rental", {:controller => 'rental', :action => 'rental'}%></li>
			<li><%= link_to image_tag("/images/Icons/checkout.jpg", :style => "border: none;"), {:action => "index"}%><%= link_to "Check in", {:controller => 'rental', :action => "checkin"} %></li>
			<li><%= link_to "List Rentals", {:controller => "rental", :action => "list_rentals"} %></li>
		</ul>
	</div>
	<div id="customers">
		<ul>
			<li><%= link_to image_tag("/images/Icons/contact-new.jpg", :style => "border: none;"), {:controller => 'customer', :action => 'add_customer'} %><%= link_to "Add Customer", {:controller => 'customer', :action => 'add_customer'} %></li>
			<li><%= link_to image_tag("/images/Icons/people.jpg", :style => "border: none;"), {:controller => "customer", :action => "list_customers"} %><%= link_to "List Customers", {:controller => "customer", :action => "list_customers"} %></li>
		</ul>
	</div>
	<div id="equipment">
		<ul>
			<li><%= link_to "Add Equipment", {:controller => 'equipment', :action => 'add_equipment'} %></li>
			<li> <%= link_to image_tag("/images/Icons/equipment.jpg", :style => "border: none;"), {:controller => "equipment", :action => 'list_equipment'} %><%= link_to "List Equipment", {:controller => "equipment", :action => 'list_equipment'} %></li>
			<li><%= link_to "Retired Equipment", {:controller => "equipment", :action => "list_retired_equipment"} %></li>
			<li><%= link_to "Add Category", {:controller => "category", :action => "add_category"} %></li>
			<li><%= link_to image_tag("/images/Icons/category.jpg", :style => "border: none;"), {:controller => "category"} %><%= link_to "List Categories", {:controller => "category", :action => "list_categories"} %></li>
		</ul>
	</div>
	<div id="options">
		<ul>
			<li><%= link_to image_tag("/images/Icons/people2.jpg", :style => "border: none;"), {:action => 'list_employees'} %><%= link_to "List employees", {:action => 'list_employees'} %></li>
			<li><%= image_tag("/images/Icons/info.jpg", :style => "border: none;") %><%= link_to "Edit Profile", {:action => 'edit_employee', :id => @employee.id } %></li>
		</ul>
	</div>
	<% if @employee.is_manager -%>
	<div id="manageroptions">
		<ul>
			<li><%= link_to image_tag("/images/Icons/person.jpg", :style => "border: none;"), {:action => 'add_employee'}, {:method => :post} %><%= link_to "Add employee", {:action => 'add_employee'}, {:method => :post} %></li>
			<li><%= link_to image_tag("/images/Icons/document-open.jpg", :style => "border: none;"), {:controller => "equipment", :action => 'add_csv'} %><%= link_to "Load equipment from CSV", {:controller => "equipment", :action => 'add_csv'} %></li>
			<li><%= link_to image_tag("/images/Icons/document-save.jpg", :style => "border: none;"), {:controller => 'equipment', :action => 'save_a_csv'} %><%= link_to "Save equipment as CSV", {:controller => 'equipment', :action => 'save_a_csv'} %></li>
			<li><%= link_to "Load Customers from CSV", {:controller => "customer", :action => 'add_csv'}%></li>
			<li><%= link_to "Save Customers as CSV", {:controller => "customer", :action => 'save_a_csv'}%></li>
		</ul>
	</div>
	<%end%>
</div>
<div id="menu">
	<p><a>Rentals</a> | <a>Customers</a> | <a>Equipment</a> | <a>Options</a><% if @employee.is_manager -%> | <a>Manager Options</a><%end%></p>
</div>
<div id="mainindex">
</div>

